﻿<AvalonDock:DocumentContent x:Class="Thunder.IrcClient.ChannelControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ThunderIrc="clr-namespace:Thunder.IrcClient"
    xmlns:AvalonDock="clr-namespace:AvalonDock;assembly=AvalonDock" Closed="Document_Closed">
    <Grid>
        <RichTextBox Name="ChannelText" IsDocumentEnabled="True" IsTabStop="False" IsReadOnly="True"  Margin="0" BorderThickness="0" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Visible">
            <RichTextBox.Resources>
                <Style x:Key="{x:Type Image}" TargetType="{x:Type Image}">
                    <Setter Property="HorizontalAlignment" Value="Center" />
                    <Setter Property="VerticalAlignment" Value="Center" />
                </Style>
            </RichTextBox.Resources>

            <FlowDocument FontFamily="Lucida Console" 
                          FontSize="16" 
                          TextAlignment="Left" 
                          LineHeight="Auto" 
                          IsHyphenationEnabled="False" 
                          xml:lang="en-us" 
                          FlowDirection="LeftToRight"
                          >
                <Paragraph Margin="0,0,0,0">
                    <Span>Please visit </Span>
                    <ThunderIrc:ThunderHyperlink>
                        <ThunderIrc:ThunderHyperlink.NavigateUri>http://thunderirc.codeplex.com</ThunderIrc:ThunderHyperlink.NavigateUri>
                        http://thunderirc.codeplex.com
                    </ThunderIrc:ThunderHyperlink>
                    <Span> for more information and updates</Span>
                </Paragraph>
                <Paragraph></Paragraph>
            </FlowDocument>
            
        </RichTextBox>
    </Grid>
</AvalonDock:DocumentContent>
